#ifndef	_Packing_H_
#define	_Packing_H_

#include <string>

#include <Geex/graphics/geexob.h>
#include <Geex/basics/types.h>
#include "packer.h"
#include "packing_graphics.h"

namespace Field_packing
{
	using namespace Geex;

	class Packing_aggregator : public Geexob, public Packer, public Packing_graphics 
	{
	public:
		Packing_aggregator(const std::string& polytope_filename, const std::string& debug_filename, double coverage_rate = 0.7);
		virtual void get_bbox(
			Geex::real& x_min, Geex::real& y_min, Geex::real& z_min,
			Geex::real& x_max, Geex::real& y_max, Geex::real& z_max
			) ;

		virtual void do_draw() ;

	} ;

}


#endif